package StructuralPattern.Adapter.DoubleAdapter;

public class Client {
    public static void main(String[] args) {
        Dog dog = new Dog();
        Cat cat = new Cat();
        dog.cry();
        cat.catchMouse();
        CatTarget catTarget = new CatDogAdapter();
        catTarget.catchMouse();
        DogTarget dogTarget = new CatDogAdapter();
        dogTarget.cry();
    }
}
